package com.woniuxy.sort.core.mapper;

import com.woniuxy.sort.core.model.YhServe;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author woniuxy
 * @since 2021-06-29
 */
public interface YhServeMapper extends BaseMapper<YhServe> {

    @Select("select * from yh_serve where serve_name like concat('%',concat(#{serveName},'%'))")
    List<YhServe> selectByName(String serveName);


}
